package demo;

import java.io.File;
import java.io.IOException;

public class java002 {
	public static void main(String[] args) throws IOException {
		File dir=new File("abc");
		boolean mkdir = dir.mkdirs();
		System.out.println(mkdir);
		
		File file=new File(dir,"a.txt");
		boolean createNewFile = file.createNewFile();
		System.out.println(createNewFile );
	}
}
